package com.chenhy.springbootvuesmbms.mapper;

import com.chenhy.springbootvuesmbms.pojo.Provider;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProviderMapper {

    List<Provider> queryAllProvider();

    List<Provider> userFuzzyQuery(String condition);

    int addProvider(Provider provider);

    int deleteProvider(int id);

    Provider queryProviderById(int id);

    int updateProvider(Provider provider);

}
